package com.example.designpattern.delegate;

import org.springframework.stereotype.Service;

/**
 * @author long
 * @date 2024/11/16 22:02
 */
//@Service
public class SendCheckServiceImpl implements ICheckService{

    @Override
    public void doCheck(Integer type) {
        // 执行送检逻辑
        System.out.println("-------------执行送检逻辑-------------");
    }

    @Override
    public CheckTypeEnum checkType() {
        return CheckTypeEnum.SEND_CHECK;
    }

}
